Veganic

MrPLC Member
  • Content count

    471
  • Joined

  • Last visited

Posts posted by Veganic


  1. Probably about eight nodes. 2 x FX1n sending and receiving 8 words max and 8 bits max each These two parts of the system will not always be connected. 2 x CoDeSys controllers, one of which will be to the main controller in the system. The remaining nodes will be remote I/O. I'm contemplating having one of the FX1n units as a 'subnetwork'. This could have 2 or 3 nodes (the FX1n and CANopen pneumatic valve stations) which could be run as part of the wider network or act alone when disconnected (bus termination could be switched in and out when and if required). CC-link has been great but I always seem to be supplementing it with additional networks to talk to stuff that just doesn't do CC-link. I've considered Profibus and Ethenet. I ruled out ethernet as beyond my capability - I just don't know how I'd get the mitsu PLCs to talk over it. Profibus is ruled out for various other reasons. Any other suggestions gratefully received.

  2. I'm looking at using CANopen where I would normally use CC-link. Can anyone answer the following questions? 1. CC-link continues to run if a slave is removed. How does CANopen react? 2. How CANopen compare to the master/slave set-up of CC-link? At first glance the CANopen system doesn't seem to have a dedicated master. Can each node act as a master/slave?

  3. You can do it in 2 x 8 bit units: INT(Original no./256) = one set of 8 bits. Mod(originalno.,256) = other set of 8 bits. DEC2BIN each one. eg: 65000 Original decimal no. /256 = 253.90625 = 11111101 Binary Mod(dec,256) = 232 = 11101000 Binary Or something like that

  4. Of couse it does. It just doesn't do it very well. Edit : a quick look at the siemens forum seems to show that timers are used there so this may be the only way to do it. I was trying to get a record of which safety device went off in the cases where it is only momentarily off.

  5. Q series As-i master monitoring safety slaves. 0000 input pattern should equal not safe but I'm getting 0000 'blips' when safe. I have to use a timer to check that the input stays 0000 for 15ms. I guess I'm not getting data consistancy for some reason. Anyone know how the Asi master reads data and passes it to the PLC? Anyone have any other ideas? Ta.

  6. RCD's measure the current differenece between L + N not the current flowing in the grounding circuit. The current in the grounding could come from various sources, none of which are individually high enough to give a fault. I'm for full 360 degree screening at both ends. This is usually to a big lump of metal that acts as a parallel earth. Mostly on encoders or comms. I've had problems with encoders (lost pulses) where the screening was not complete. One end screen seems mostly to be favoured by 'old school' people. If I thought there were going to be problems (due to the distance bewteen the screen points for example) I'd look at adding or changing something rather than taking away one of the screened ends. I'd only connect at one end if the manufacturer recommended it. I'm not sure what items people have had trouble with screened at both ends. If removing the screen at one end works try removing screening at both ends and see if there is a difference.

  7. Veganic: Where in the Mitsubishi web-site did you find the IEC function blocks for FX3U and acyclic transmissions you mentioned? It's for the Q series. ProfibusDpv1Q_V200 GX IEC Developer 7.00 function blocks for acyclic read/write operations between a QJ71PB92V PROFIBUS-DP Class 1 master and PROFIBUS-DPV1 slaves. I'd assumed that there would be more similarities than differences but having looked at the FX3U-64DP manual I was probably mistaken.

  8. I think it can depend very much on what you are reading/writing from. I'm working on a function block for this in GX dev for Q series at the moment though I don't know how generic it will be. For reading I have to first write a message block then repeatedly read until I get the correct reply. Writing is simpler by comparison. Mitsubishi website have IEC blocks but I can't get into them as I don't have IEC 7.xxx

  9. I've just read through the TOS and still don't know what I've agreed to Password protection of a PLC program isn't the same as hacking software is it? Infact isn't it more like not providing wiring drawings with a machine? Or is it exactly the same as hacking software? Has my post infringed the TOS? Anyone have any idea? Please comment.

  10. If U8\G0 is set to H0000 when you set Y89 then yes it could still work. I think you set the bits to zero for the channels you want to use. So by not setting it it may be zero. I'd still change it though. Try the *untested* code for scaling by 0.8 Edit : that should be E* not E/ of course. Scale_x_point_eight.bmp

  11. Sorry. Might have found the error, well my error at least. You have to set U8\G20 to H4 for -10 to 10VDC. (equivalent to switch setting 1) In the last post U8\G0 should be set to 1. Set U8\G0 to 1 to enable channel 1. Then set Y89. Wait for X89 reset Y89.

  12. OK. 2. Try setting the switch: You can probably do this with a device test U8\G1 = H4 Force Y89 on Check for X89 to go on Force Y89 off Edit : see correction below

  13. See section 4.6.2 "Switch off delay" of the FX Family beginners manual Article no. 166388 on the Mitsubishi website. http://78.136.49.242/branch/database/servi...pd1cvf6qc2fsis3

  14. 1. Switch setting: Rising edge on X0 or X80 or whatever -|^|- ----[Mov H4 U8\G0] H4 sets ch1 to -10 to +10V At the same time set Y9 or Y89 or whatever ----[set Y89] This request that the settings be changed. 2. Wait for conditions to be accepted: X80.Y89.X89 -| |--| |--|/|---------[Rst Y89] 3. When ready to output data then turn Y1 or Y81 on ------ (Y81) This enables Channel 1 4 Output the data ---------[Mov D100 U8\G1] It's all in the manual. Edit : don't believe everything I've typed in this post!

  15. So in a batch read you can see the analogue value rise and fall? Is the address U7\G11 (11 decimal = 0B hex, as in K11 for the From statement). Forget the FROM statement, Try ...-[MOV U7\G11 D100]- Also try somewhere other than D100 incase the problem is there.